package com.zmn.plat.common.dto.blacklist;

import java.io.Serializable;

/**
 * 描述: 黑白名单检查入参对象
 *
 * @author wangjie
 * @since 2019/8/2
 **/
public class BlacklistDIO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 描述: 检查的ip
     *
     * @author wangjie
     * @since 2019/8/7
     **/
    private String ip;

    /**
     * 描述: 检查的用户id
     *
     * @author wangjie
     * @since 2019/8/7
     **/
    private Long userId;

    /**
     * 描述: 检查的电话
     *
     * @author wangjie
     * @since 2019/8/7
     **/
    private String mobile;

    /**
     * 描述: 渠道id
     *
     * @author wangjie
     * @since 2019/8/7
     **/
    private Integer channelId;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    @Override
    public String toString() {
        return "BlacklistDIO{" +
                "ip='" + ip + '\'' +
                ", userId=" + userId +
                ", mobile='" + mobile + '\'' +
                ", channelId=" + channelId +
                '}';
    }
}
